﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ImageRecognition2.Forms;

using System.Windows.Forms;

namespace ImageRecognition2.Action
{
    /// <summary>
    /// Opens the color filter form
    /// </summary>
    public class ActionColorFilter : AbstractCommand
    {
        public ActionColorFilter()
        {

        }

        internal ActionColorFilter(ActionColorFilter _ActionColorFilter)
        {
        }
        /// <summary>
        /// Runs the specified sender.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        public override void Run(object sender, EventArgs e)
        {
            FormColorFilter formColorFilter = new FormColorFilter();
            if (formColorFilter.ShowDialog() != DialogResult.OK) return;
        }

        public override object Clone()
        {
            return new ActionColorFilter(this);
        }
    }
}
